package com.alcatel.staj.janjan.test.service;

import org.jmock.integration.junit3.MockObjectTestCase;

import com.alcatel.staj.janjan.model.Personel;
import com.alcatel.staj.janjan.service.AdminService;
import com.alcatel.staj.janjan.service.PersonelManager;

public class PersonelManegerAutorization extends MockObjectTestCase {
	PersonelManager manager;
	Personel p;
	AdminService adminService;
	public void setUp() throws Exception
	{
		adminService=mock(AdminService.class);
		
		manager=PersonelManager.getInstance();
		p=new Personel();
		p=manager.login("reyhan", "1234");
		
		if(p.getRole()==1)
		{
			
		}
		
	}
	
	

}
